home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
program
/
pmtclsh.zip
/
SRC.ZIP
/
PMTCLSH.H
< prev
next >
Wrap
Text File
|
1996-10-07
|
1KB
|
52 lines
/*-----------------------
WINTCLSH.H header file
-----------------------*/
/* RESOURCES IDs */
#define ID_ABOUTDLG 100
#define TCLSHRC 1
#define APPTEXT "PMTclSh"
#define APPTITLE "TclSh for OS/2 Presentation Manager ver 1.0 - Tcl 7.4 for OS/2"
#define APPICON "pmtclsh.ico"
/* MENU ITEM IDs */
#define IDM_EXIT 6
#define IDM_CUT 10
#define IDM_COPY 11
#define IDM_PASTE 12
#define IDM_DEL 13
#define IDM_HELP 20
#define IDM_SOURCE 21
#define IDM_ABOUT 22
/* window IDs */
#define WID_EFCOMMAND 1
#define WID_MLEOUTPUT 2
/* application specific messages */
#define TCLSHM_PASSPARAM WM_USER + 0
#define TCLSHM_EXITINTERP WM_USER + 1
/* constants */
#define MAXLENINPUT 300
#define DIMBUF 1000
/* types definition */
typedef struct _THREADPARAM
{
HEV hSem;
HWND hwnd;
union {
HFILE hPipe;
RESULTCODES rc;
} param;
} THREADPARAM;
typedef THREADPARAM *PTHREADPARAM;
/* prototypes */
BOOL CreateInterp(HWND, HWND, HFILE);
void DestroyInterp(void);